import axios from '@/utils/axios'

export function getid(data) {
	return axios({
		url: '/api/rf/getAliUserid',
		method: 'post',
		data: data,	
		
	})
}
//新订单
export function getnew(data) {
	return axios({
		url: '/api/rf/hjkCreatePayNew',
		method: 'post',
		data: data,		
	})
}
export function wxLogin(data) {
	return axios({
		url:'/api/hfmp/wxLogin',
		method: 'post',
		data: data,		
	})
}
//判断是不是跳404
export function alipayadsta(data) {
	return axios({
		url: '/api/alipayad/status',
		method: 'post',
		data: data,		
	})
}
export function openSignDecrypt(data) {
	return axios({
		url:'/api/hfmp/openSignDecrypt',
		method: 'post',
		data: data,		
	})
}

//发短信
export function sendSms(data) {
	return axios({
		url:'/api/rf/sendSms',
		method: 'post',
		data: data,		
	})
}
//登录
export function loginx(data) {
	return axios({
		url:'/api/rf/login',
		method: 'post',
		data: data,		
	})
}
//获取广告返回
export function getdata(data) {
	return axios({
		url:'/api/Alipayad/queryOrder',
		method: 'post',
		data: data,		
	})
}
//ip查询
export function getip(data) {
	return axios({
		url:'/api/Alipayad/getip',
		method: 'post',
		data: data,		
	})
}
//日志添加
export function addLog(data) {
	return axios({
		url:'/api/rf/addLog',
		method: 'post',
		data: data,		
	})
}
//获取跳转链接
export function getUrl(data) {
	return axios({
		url:'/api/Alipayad/getUrl',
		method: 'post',
		data: data,		
	})
}
//h5订单提交
export function subOrder(data) {
	return axios({
		url:'/api/Alipayad/subOrder',
		method: 'post',
		data: data,		
	})
}
export function signTest(data) {
	return axios({
		url: '/api/tongliansign/subOrder',
		method: 'post',
		data: data,	
		
	})
}
//订单计数
export function addNum(data) {
	return axios({
		url:'/api/Alipayad/addNum',
		method: 'post',
		data: data,		
	})
}
//判断手机是否办理
export function mobileQuery(data) {
	return axios({
		url:'/api/alipayad/mobileQuery',
		method: 'post',
		data: data,		
	})
}
//判断手机型号
export function getPhonetype(data) {
	return axios({
		url:'/api/Alipayad/getPhonetype',
		method: 'post',
		data: data,		
	})
}
//办理成功后的步骤判断
export function statusx(data) {
	return axios({
		url:'/api/Alipayad/status',
		method: 'post',
		data: data,		
	})
}
export function getlog(data) {
	return axios({
		url:'/api/rf/getLog',
		method: 'post',
		data: data,		
	})
}

//获取code
export function getcode(data) {
	return axios({
		url:'/api/Alipayad/getSpaceCode',
		method: 'post',
		data: data,		
	})
}
export function getBanner(data) {
	return axios({
		url:'/api/hfmp/getBanner',
		method: 'post',
		data: data,		
	})
}
export function shenhe(data) {
	return axios({
		url:'/api/Alipayad/shenhe',
		method: 'post',
		data: data,		
	})
}
export function product(data) {
	return axios({
		url: '/api/product/getRecommendProduct',
		method: 'post',
		data: data,		
	})
}
//etc授权
export function etcpx(data) {
	return axios({
		url:'/api/etcp/extendAuthFirst',
		method: 'post',
		data: data,		
	})
}
//统计
export function logs(data) {
	return axios({
		url:'/api/Alipayad/log',
		method: 'post',
		data: data,		
	})
}
//短信验证
export function getvalid(data) {
	return axios({
		url:'/api/etcp/extendAuthvalidate',
		method: 'post',
		data: data,		
	})
}
export function getAliUseridPz(data) {
	return axios({
		url:'/api/rf/getAliUseridPz',
		method: 'post',
		data: data,		
	})
}
export function tcjfOrder(data) {
	return axios({
		url:'/api/rf/tcjfOrder',
		method: 'post',
		data: data,		
	})
}

export function getMpUrl(data) {
	return axios({
		url: '/api/rf/getMpUrl',
		method: 'post',
		data: data,	
		
	})
}
//新蚂蚁包跳转前备案
export function submitOrder(data) {
	return axios({
		url: '/api/alipay_insurance/submitOrder',
		method: 'post',
		data: data,	
		
	})
}
export function tongji(data) {
	return axios({
		url: '/api/tongji/tongji0520',
		method: 'post',
		data: data,	
		
	})
}














